home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- CLS
- ECHO EXAMPLE.BAT
- ECHO This batch file is written for DOS 3.3 +
- ECHO It demonstrates some of the AUTOMAN DOS utility programs
- ECHO It is written to be run from AUTOMAN at 5.00PM
- ECHO AUTOMAN has passed the !DAY parameter, as %1
- ECHO Utility programs can be found in chapter 4 of the manual (And in help!)
- IF EXIST AMSLEEP.EXE AMSLEEP 10
-
- ECHO Turn your CAPS and NUM keys on and off
-
- AMCAPS ON
- IF EXIST AMSLEEP.EXE AMSLEEP 8
-
- AMCAPS OFF
- IF EXIST AMSLEEP.EXE AMSLEEP 8
-
- IF NOT EXIST AMNUM.EXE ECHO AMNUM.EXE CANNOT BE FOUND - N.A. WITH SHAREWARE
- IF NOT EXIST AMNUM.EXE ECHO VERSION TO KEEP YOUR PHONE COSTS DOWN !
- AMNUM OFF
- IF EXIST AMSLEEP.EXE AMSLEEP 8
-
- AMNUM ON
- IF EXIST AMSLEEP.EXE AMSLEEP 8
-
- ECHO Make the computer beep 6 times
- AMBEEP 6
-
- ECHO The following command will cause AUTOMAN to go straight to View DOS
- ECHO screen once AUTOMAN is loaded. The program will then immediately return
- ECHO to Monitor Mode. The DOS screen only appears for 0.2 seconds !
- ECHO The program run is called AMFILL, which fills the keyboard buffer with
- ECHO characters, and is passed the following parameters
- ECHO {0}{47}D{27}{27}{27}
- ECHO ^Simulates the user pressing ALT-V key for the view menu
- ECHO ^Simulates the user pressing the D key for View DOS screen
- ECHO ^Exits the View DOS Screen
- ECHO ^Exits the View menu
- ECHO ^Exits the Main menu
- IF EXIST AMSLEEP.EXE AMSLEEP 60
-
- AMFILL {0}{47}D{27}{27}{27}
-